package com.johnsoft.pph.gui;

import java.awt.BorderLayout;

import javax.swing.JFrame;
import javax.swing.JTextArea;

import com.johnsoft.pph.Installer;

public class GuiInstall extends IGui {
	
	JTextArea console;
	
	public GuiInstall()
	{
		console = new JTextArea();
		Installer.setup.startSetup();
	}
	
	@Override
	JFrame installFrame(JFrame frame) {
		frame.setLayout(new BorderLayout());
		frame.add(console);
		return frame;
	}

	@Override
	JFrame uninstallFrame(JFrame frame) {
		frame.remove(console);
		return frame;
	}

}
